package com.hx.service.Impl;

import com.hx.mapper.UserMoodPraiseRelMapper;
import com.hx.pojo.UserMoodPraiseRel;
import com.hx.service.UserMoodPraiseRelService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
@Slf4j
public class UserMoodPraiseRelServiceImpl implements UserMoodPraiseRelService {

    @Resource
    private UserMoodPraiseRelMapper userMoodPraiseRelMapper;

    /**
     * 保存用户点赞说说的记录
     * @param userMoodPraiseRel
     * @return
     */
    @Override
    public boolean save(UserMoodPraiseRel userMoodPraiseRel) {
        return userMoodPraiseRelMapper.save(userMoodPraiseRel);
    }
}
